import request from '@u/request'
// api.it120.cc
// 获取分类
const getTower = (params = {}) => {
  return request.get('/getTower', {
    params
  })
}
// 获取楼栋详情
const detailTower = (params = {}) => {
  return request.get('/detailTower', {
    params
  })
}
// 修改信息
const updataTower = (params = {}) => {
  return request.put('/updateTower', params)
}
// 新增楼栋管理
const addTower = (params = {}) => {
  return request.post('/addTower', params)
}
// 删除楼栋信息
const deteleTower = (params = {}) => {
  return request.delete('/deteleTower', { params })
}

export { getTower, detailTower, updataTower, addTower, deteleTower }
